<?php
$arquivo = $_GET['arquivo'];

header('Content-type: application/pdf');
header('Content-disposition:attachment;filename="' . basename($arquivo). '";');
header('Content-Length:' . filesize($arquivo));
readfile($arquivo);
exit();
?>